# Maintainer: Morten Linderud <foxboron@archlinux.org>

pkgname=archlinux-contrib
pkgver=20221211
pkgrel=2
pkgdesc='Collection of contrib scripts used in Arch Linux'
arch=('any')
license=('GPL')
url='https://github.com/archlinux/contrib'
depends=('python')
optdepends=('python-requests: for security tracker'
            'jq: for rebuild-todo'
            'pacman-contrib: to enable pacdiff usage in the checkservices script')
source=("https://github.com/archlinux/contrib/releases/download/${pkgver}/contrib-${pkgver}.tar.gz"{,.sig})
validpgpkeys=('C100346676634E80C940FB9E9C02FF419FECBE16'  # Morten Linderud
              '86CFFCA918CF3AF47147588051E8B148A9999C34') # Evangelos Foutras
sha256sums=('4a4339133ca80011e76919416823a08f799c78579ecefa929726ffa659620166'
            'SKIP')

package() {
  cd contrib-${pkgver}
  make PREFIX=/usr DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et:
